local skel = fk.CreateSkill{
  name = "knu_fuyu",
  tags = { Skill.Compulsory },
}

local U = require "packages/utility/utility"

Fk:loadTranslationTable{
  ["knu_fuyu"] = "伏欲",
  [":knu_fuyu"] = "锁定技，当你使用牌时，你获得一张【影】。",

}

skel:addEffect(fk.CardUsing, {
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(skel.name)
  end,
  on_use = function(self, event, target, player, data)
    player.room:moveCards({
      ids = U.getShade(player.room, 1),
      to = player,
      toArea = Card.PlayerHand,
      moveReason = fk.ReasonJustMove,
      proposer = player,
      skillName = skel.name,
      moveVisible = true,
    })
  end,
})

return skel